(Al-Kahf) 18 : 49
وَوُضِعَ الْكِتَابُ فَتَرَى الْمُجْرِمِينَ مُشْفِقِينَ مِمَّا فِيهِ وَيَقُولُونَ يَا وَيْلَتَنَا مَالِ هَٰذَا الْكِتَابِ لَا يُغَادِرُ صَغِيرَةً وَلَا كَبِيرَةً إِلَّا أَحْصَاهَا ۚ وَوَجَدُوا مَا عَمِلُوا حَاضِرًا ۗ وَلَا يَظْلِمُ رَبُّكَ أَحَدًا
And Recorded Book will be presented, then you will see the Mujirms regretting in it and they will say: "Oh, woe to us! What a Book is this which leaves nothing small or great unless that it has recorded in it?" And they will find what they had done, and your Lord is not unjust to anyone.
Each man is fastened with a Recording Book upon his neck which will not omit a thing unless it is recorded, and everyone’s Judgment will be done with his Recoding Book as explained in verses 17: 13-14. See explanation 1: 7; 7: 8-9 and 16: 111.